import requests from "./request";

// 登入接口
export const reqUserLogin=(data)=>requests({
    url:'/xinHua/admin/login',data,
    method:'post',
}).catch((e) => {
    console.log('登入接口出错');
})
// 获取医生列表接口
export const reqUser = ()=>requests({
        url:'/xinHua/admin/doctor/list',
        method:'get'
}).catch((e) => {
    console.log('获取医生列表接口出错');
})
// 添加用户接口
export const AddreqUser = (data)=>requests({
    url:'/xinHua/admin/doctor/save',data,
    method:'post'
})